gdksurface-win32.c: Acquire root coordinates on drag/move
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 1 Apr 2019 06:18:30 +0000 (14:18 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 1 Apr 2019 06:22:38 +0000 (14:22 +0800)
commit896104939b6ec673ecb9113886b5fb9d0ef377ac
tree9224827f1a14eae225d9554e4e4c238591cb0679
parent19f4fce931cf578a2d25743c2c890734450213df
gdksurface-win32.c: Acquire root coordinates on drag/move

As in commit d45996c, the x and y coordinates passed into begin_drag and
begin_move are no longer root coordinates but are now surface
coordinates.

Use the x and y surface coordinates to acquire the root x and y
coordinates so that resizing and moving can work as expected.
gdk/win32/gdksurface-win32.c